using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;

namespace ICP_MS.Plugin.Experiment;

public class ReDataGridView : UserControl
{
	private int totalCount = 0;

	private int pageCount = 0;

	private int currentPageCount = 0;

	private int currentPageIndex = 0;

	private int pageSize = 10;

	private int LastPageCount = 0;

	private IContainer components = null;

	private DataGridView dgvResult;

	private HScrollBar hScrollBar1;

	private VScrollBar vScrollBar1;

	public ReDataGridView()
	{
		InitializeComponent();
	}

	protected override void Dispose(bool disposing)
	{
		if (disposing && components != null)
		{
			components.Dispose();
		}
		base.Dispose(disposing);
	}

	private void InitializeComponent()
	{
		this.dgvResult = new System.Windows.Forms.DataGridView();
		this.hScrollBar1 = new System.Windows.Forms.HScrollBar();
		this.vScrollBar1 = new System.Windows.Forms.VScrollBar();
		((System.ComponentModel.ISupportInitialize)this.dgvResult).BeginInit();
		base.SuspendLayout();
		this.dgvResult.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
		this.dgvResult.BackgroundColor = System.Drawing.SystemColors.Control;
		this.dgvResult.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
		this.dgvResult.GridColor = System.Drawing.SystemColors.Control;
		this.dgvResult.Location = new System.Drawing.Point(0, 0);
		this.dgvResult.Name = "dgvResult";
		this.dgvResult.RowTemplate.Height = 23;
		this.dgvResult.ScrollBars = System.Windows.Forms.ScrollBars.None;
		this.dgvResult.Size = new System.Drawing.Size(747, 486);
		this.dgvResult.TabIndex = 0;
		this.hScrollBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
		this.hScrollBar1.Location = new System.Drawing.Point(0, 485);
		this.hScrollBar1.Name = "hScrollBar1";
		this.hScrollBar1.Size = new System.Drawing.Size(766, 21);
		this.hScrollBar1.TabIndex = 1;
		this.hScrollBar1.Visible = false;
		this.vScrollBar1.Dock = System.Windows.Forms.DockStyle.Right;
		this.vScrollBar1.Location = new System.Drawing.Point(746, 0);
		this.vScrollBar1.Name = "vScrollBar1";
		this.vScrollBar1.Size = new System.Drawing.Size(20, 485);
		this.vScrollBar1.TabIndex = 2;
		this.vScrollBar1.Visible = false;
		base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
		base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
		base.Controls.Add(this.vScrollBar1);
		base.Controls.Add(this.hScrollBar1);
		base.Controls.Add(this.dgvResult);
		base.Name = "ReDataGridView";
		base.Size = new System.Drawing.Size(766, 506);
		((System.ComponentModel.ISupportInitialize)this.dgvResult).EndInit();
		base.ResumeLayout(false);
	}
}
